package com.ict.bills.service;

import com.ict.bills.domain.User;

/**
 * @Author: Lizbeth9421
 * @Date: 2021/10/10/0:28
 */
public interface UserService {


    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    /**
     * 用于检查用户登录
     *
     * @param loginname
     * @param password
     * @return
     */
    User checkLogin(String loginname, String password);
}
